<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script type="text/javascript">
			var str = '次小明说：'
			var xiaoming = 0;
		</script>
		<script type="text/javascript">
			console.time('for-test');
			for(var i = 0; i < 10000000; i++) {
				xiaoming += 1;
				var a = xiaoming / 3;
				var b = xiaoming / 5;
				if(Number.isInteger(a) && Number.isInteger(b)) {
					//console.log('第' + xiaoming + str + 'fizzbuzz--1');
				} else if(xiaoming.toString().indexOf('3')!=-1&&xiaoming.toString().indexOf('5')!=-1){
					//console.log('第' + xiaoming + str + 'fizzbuzz--6');
				}else if(Number.isInteger(a)) {
					//console.log('第' + xiaoming + str + 'fizz--2');
				} else if(Number.isInteger(b)) {
					//console.log('第' + xiaoming + str + 'buzz--3');
				} else if(xiaoming.toString().indexOf('3')!=-1){
					//console.log('第' + xiaoming + str + 'fizz--4')
				}else if(xiaoming.toString().indexOf('5')!=-1){
					//console.log('第' + xiaoming + str + 'buzz--5')
				}else{
					//console.log('第' + xiaoming + str + xiaoming);
				}
			}
			console.timeEnd('for-test');
		</script>
		
		<script type="text/javascript">
			/*var abc = 0;
			for(var i = 0; i < 100; i++){
				abc += 1;
				if(!(abc%3)&&){
					console.log('第' + abc + str + 'buzz--3');
				}
			}*/
		</script>
	</body>

</html>